import java.io.Serializable;
import java.rmi.RemoteException;

import javax.rmi.PortableRemoteObject;


public class Product extends PortableRemoteObject  implements ProductInterface, Serializable {

	protected Product() throws RemoteException {
		super();
	}

	private static final long serialVersionUID = -550687627123343421L;
	private String category;
	private Float price;
	private String name;
	private String code;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name=name;

	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price=price;

	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category=category;
	}
	
	public String getCode(){
		return this.code;
	}
	
	public void setCode(String code){
		this.code = code;
	}

}
